package com.ruoyi.hr.job.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 岗位对象 hr_job
 *
 * @author xzshan
 * @date 2020-07-09
 */
public class HrJob extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 成本科目外键 */
    @Excel(name = "成本科目外键")
    private Long costSubjectId;

    /** 标准工资 */
    @Excel(name = "标准工资")
    private Long standardSalary;

    /** 加班工资 */
    @Excel(name = "加班工资")
    private Long extraSalary;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long cdpId;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cdt;

    /** 组织id */
    @Excel(name = "组织id")
    private Long orgId;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long reviewState;

    /** 审核人 */
    @Excel(name = "审核人")
    private Long reviewPerson;

    /** 审核时间 */
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setCostSubjectId(Long costSubjectId)
    {
        this.costSubjectId = costSubjectId;
    }

    public Long getCostSubjectId()
    {
        return costSubjectId;
    }
    public void setStandardSalary(Long standardSalary)
    {
        this.standardSalary = standardSalary;
    }

    public Long getStandardSalary()
    {
        return standardSalary;
    }
    public void setExtraSalary(Long extraSalary)
    {
        this.extraSalary = extraSalary;
    }

    public Long getExtraSalary()
    {
        return extraSalary;
    }
    public void setCdpId(Long cdpId)
    {
        this.cdpId = cdpId;
    }

    public Long getCdpId()
    {
        return cdpId;
    }
    public void setCdt(Date cdt)
    {
        this.cdt = cdt;
    }

    public Date getCdt()
    {
        return cdt;
    }
    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId()
    {
        return orgId;
    }
    public void setReviewState(Long reviewState)
    {
        this.reviewState = reviewState;
    }

    public Long getReviewState()
    {
        return reviewState;
    }
    public void setReviewPerson(Long reviewPerson)
    {
        this.reviewPerson = reviewPerson;
    }

    public Long getReviewPerson()
    {
        return reviewPerson;
    }
    public void setReviewTime(Date reviewTime)
    {
        this.reviewTime = reviewTime;
    }

    public Date getReviewTime()
    {
        return reviewTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("costSubjectId", getCostSubjectId())
            .append("standardSalary", getStandardSalary())
            .append("extraSalary", getExtraSalary())
            .append("cdpId", getCdpId())
            .append("cdt", getCdt())
            .append("orgId", getOrgId())
            .append("reviewState", getReviewState())
            .append("reviewPerson", getReviewPerson())
            .append("reviewTime", getReviewTime())
            .toString();
    }
}
